package hcn.protocol.registration.xml.resp;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.List;

/**
 * @Author: lanyu
 * @Description:
 * @Date: create in 2023/2/23 16:11
 */
@XmlRootElement(name = "Data")
public class ExamAppointmentInfoXmlResponse {
    private List<ExamAppointmentInfo > AppointsInfo;

    @XmlElementWrapper(name = "AppointsInfos")
    @XmlElement(name = "AppointsInfo")
    public List<ExamAppointmentInfo> getAppointsInfo() {
        return AppointsInfo;
    }

    public void setAppointsInfo(List<ExamAppointmentInfo> appointsInfo) {
        AppointsInfo = appointsInfo;
    }

    @XmlRootElement(name = "AppointsInfo")
    public static class ExamAppointmentInfo {
        private String VisitOrganization;
        private String VisitOrganizationName;
        private String Name;
        private String Sex;
        private Integer RequestStatus;
        private String AppointsNo;
        private String AppointsVisitDateTime;
        private String AppointsVisitTime;
        private String AppointsExamItems;
        private String SampleCollectAreaId;
        private String SampleCollectAreaName;
        private String SampleCollectAddress;
        private String AppointsDateTime;
        private String AppointsChangeFlag;
        private String OperateDateTime;
        private String AppointsStatus;
        private String MedicalCardType;
        private String MedicalCardId;
        private List<ExamLabRequestAppXmlResp> LabRequests;

        @XmlElement(name = "VisitOrganization")
        public String getVisitOrganization() {
            return VisitOrganization;
        }

        public void setVisitOrganization(String visitOrganization) {
            VisitOrganization = visitOrganization;
        }

        @XmlElement(name = "VisitOrganizationName")
        public String getVisitOrganizationName() {
            return VisitOrganizationName;
        }

        public void setVisitOrganizationName(String visitOrganizationName) {
            VisitOrganizationName = visitOrganizationName;
        }

        @XmlElement(name = "Name")
        public String getName() {
            return Name;
        }

        public void setName(String name) {
            Name = name;
        }

        @XmlElement(name = "Sex")
        public String getSex() {
            return Sex;
        }

        public void setSex(String sex) {
            Sex = sex;
        }

        @XmlElement(name = "RequestStatus")
        public Integer getRequestStatus() {
            return RequestStatus;
        }

        public void setRequestStatus(Integer requestStatus) {
            RequestStatus = requestStatus;
        }

        @XmlElement(name = "AppointsNo")
        public String getAppointsNo() {
            return AppointsNo;
        }

        public void setAppointsNo(String appointsNo) {
            AppointsNo = appointsNo;
        }

        @XmlElement(name = "AppointsVisitDateTime")
        public String getAppointsVisitDateTime() {
            return AppointsVisitDateTime;
        }

        public void setAppointsVisitDateTime(String appointsVisitDateTime) {
            AppointsVisitDateTime = appointsVisitDateTime;
        }

        @XmlElement(name = "AppointsVisitTime")
        public String getAppointsVisitTime() {
            return AppointsVisitTime;
        }

        public void setAppointsVisitTime(String appointsVisitTime) {
            AppointsVisitTime = appointsVisitTime;
        }

        @XmlElement(name = "AppointsExamItems")
        public String getAppointsExamItems() {
            return AppointsExamItems;
        }

        public void setAppointsExamItems(String appointsExamItems) {
            AppointsExamItems = appointsExamItems;
        }

        @XmlElement(name = "SampleCollectAreaId")
        public String getSampleCollectAreaId() {
            return SampleCollectAreaId;
        }

        public void setSampleCollectAreaId(String sampleCollectAreaId) {
            SampleCollectAreaId = sampleCollectAreaId;
        }

        @XmlElement(name = "SampleCollectAreaName")
        public String getSampleCollectAreaName() {
            return SampleCollectAreaName;
        }

        public void setSampleCollectAreaName(String sampleCollectAreaName) {
            SampleCollectAreaName = sampleCollectAreaName;
        }

        @XmlElement(name = "SampleCollectAddress")
        public String getSampleCollectAddress() {
            return SampleCollectAddress;
        }

        public void setSampleCollectAddress(String sampleCollectAddress) {
            SampleCollectAddress = sampleCollectAddress;
        }

        @XmlElement(name = "AppointsDateTime")
        public String getAppointsDateTime() {
            return AppointsDateTime;
        }

        public void setAppointsDateTime(String appointsDateTime) {
            AppointsDateTime = appointsDateTime;
        }

        @XmlElement(name = "AppointsChangeFlag")
        public String getAppointsChangeFlag() {
            return AppointsChangeFlag;
        }

        public void setAppointsChangeFlag(String appointsChangeFlag) {
            AppointsChangeFlag = appointsChangeFlag;
        }

        @XmlElement(name = "OperateDateTime")
        public String getOperateDateTime() {
            return OperateDateTime;
        }

        public void setOperateDateTime(String operateDateTime) {
            OperateDateTime = operateDateTime;
        }

        @XmlElement(name = "AppointsStatus")
        public String getAppointsStatus() {
            return AppointsStatus;
        }

        public void setAppointsStatus(String appointsStatus) {
            AppointsStatus = appointsStatus;
        }

        @XmlElement(name = "MedicalCardType")
        public String getMedicalCardType() {
            return MedicalCardType;
        }

        public void setMedicalCardType(String medicalCardType) {
            MedicalCardType = medicalCardType;
        }

        @XmlElement(name = "MedicalCardId")
        public String getMedicalCardId() {
            return MedicalCardId;
        }

        public void setMedicalCardId(String medicalCardId) {
            MedicalCardId = medicalCardId;
        }

        @XmlElementWrapper(name = "LabRequests")
        @XmlElement(name = "LabRequest")
        public List<ExamLabRequestAppXmlResp> getLabRequests() {
            return LabRequests;
        }

        public void setLabRequests(List<ExamLabRequestAppXmlResp> labRequests) {
            LabRequests = labRequests;
        }
    }

    @XmlRootElement(name = "LabRequest")
    public static class ExamLabRequestAppXmlResp {
        private String RequestId;
        //支付页面 1 诊间支付 ; 2 云支付
        private String PaymentPage = "1";
        private Integer RequestSource;
        private Integer RequestStatus;
        private String RequestDateTime;
        private String ItemCode;
        private String ItemName;
        private String SampleTypeCode;
        private String SampleTypeName;
        private Integer FeeStatus;
        private String AppointsDescribe;
        private String CreateTime; //开单时间

        @XmlElement(name = "RequestId")
        public String getRequestId() {
            return RequestId;
        }

        public void setRequestId(String requestId) {
            RequestId = requestId;
        }

        public String getPaymentPage() {
            return PaymentPage;
        }

        public void setPaymentPage(String paymentPage) {
            PaymentPage = paymentPage;
        }

        @XmlElement(name = "RequestSource")
        public Integer getRequestSource() {
            return RequestSource;
        }

        public void setRequestSource(Integer requestSource) {
            RequestSource = requestSource;
        }

        @XmlElement(name = "RequestStatus")
        public Integer getRequestStatus() {
            return RequestStatus;
        }

        public void setRequestStatus(Integer requestStatus) {
            RequestStatus = requestStatus;
        }

        @XmlElement(name = "RequestDateTime")
        public String getRequestDateTime() {
            return RequestDateTime;
        }

        public void setRequestDateTime(String requestDateTime) {
            RequestDateTime = requestDateTime;
        }

        @XmlElement(name = "ItemCode")
        public String getItemCode() {
            return ItemCode;
        }

        public void setItemCode(String itemCode) {
            ItemCode = itemCode;
        }

        @XmlElement(name = "ItemName")
        public String getItemName() {
            return ItemName;
        }

        public void setItemName(String itemName) {
            ItemName = itemName;
        }

        @XmlElement(name = "SampleTypeCode")
        public String getSampleTypeCode() {
            return SampleTypeCode;
        }

        public void setSampleTypeCode(String sampleTypeCode) {
            SampleTypeCode = sampleTypeCode;
        }

        @XmlElement(name = "SampleTypeName")
        public String getSampleTypeName() {
            return SampleTypeName;
        }

        public void setSampleTypeName(String sampleTypeName) {
            SampleTypeName = sampleTypeName;
        }

        @XmlElement(name = "FeeStatus")
        public Integer getFeeStatus() {
            return FeeStatus;
        }

        public void setFeeStatus(Integer feeStatus) {
            FeeStatus = feeStatus;
        }

        @XmlElement(name = "AppointsDescribe")
        public String getAppointsDescribe() {
            return AppointsDescribe;
        }

        public void setAppointsDescribe(String appointsDescribe) {
            AppointsDescribe = appointsDescribe;
        }

        @XmlElement(name = "CreateTime")
        public String getCreateTime() {
            return CreateTime;
        }

        public void setCreateTime(String createTime) {
            CreateTime = createTime;
        }
    }
}
